﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCPromotionDetail.ascx.cs"
    Inherits="RedHouse.Web.UserControls.UCPromotionDetail" %>
<%if (Promotion != null)
  { %>
<%--<div class="dish-slider">
    <div>
        <img class="promotion" src="<%=Promotion.NewsDetail.ImageUrl %>" />
    </div>
</div>--%>
<%
      if (ImageList != null && ImageList.Count>0)
      {%>
<div class="dish-slider">
    <div id="slider" class="nivoSlider theme-default">
        <%   foreach (RedHouse.Data.Image item in ImageList)
             {
                            
        %>
        <img class="home-slide" src="<%=item.Url %>" />
        <%}
        %>
    </div>
</div>
<%} %>
<div class="description">
    <p>
        <%=Promotion.NewsDetail.Description %>
    </p>
    <%-- <p>
        Chương trình kéo dài đến ngày <%=Promotion.StartDate.Value.ToShortDateString() %>
    </p>
    <p>
        Chi tiết liên hệ: 04 3 944 9668</p>--%>
</div>
<%} %>